#ifndef WIDGET_H
#define WIDGET_H

//#include <QWidget>
#include <QWindow>
#include <QBackingStore>


QT_BEGIN_NAMESPACE
QT_END_NAMESPACE

class Widget : public QWindow
{
public:
	Widget(QWindow *parent = nullptr);
	~Widget();
	bool event(QEvent *);
private:
	QBackingStore store;
};
#endif // WIDGET_H
